# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include csns::condor::install
class csns::condor::install {
  if $facts['os']['architecture'] == 'aarch64' {
  yumrepo { "condor":
    baseurl => "http://${mirrorserver}/yum/condor/9.1/rhel${operatingsystemmajrelease}/\$basearch",
    descr => "condor",
    enabled => 1,
    gpgcheck => 0,
    priority => 20,
    before   => Yumrepo['site'],
  }
  }
  $condor_pkg = [
      "condor",
      "condor-classads",
      "condor-procd",
  ]
  package { $condor_pkg:
              ensure  => installed,
              require => Yumrepo['site'],
  } 
}
